import request from "@/router/axios";
import {EDUCATION_PREFIX} from "@/store/constant";

export const getSignDataList = (params) => {
  return request({
    url: EDUCATION_PREFIX + '/attendance-detail/signdata-list',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const getSignedList = (params) => {
  return request({
    url: EDUCATION_PREFIX + '/attendance-detail/signed-list',
    method: 'get',
    params: {
      ...params
    }
  })
}

export const signSubmit = (row) => {
  return request({
    url: EDUCATION_PREFIX + '/attendance-detail/sign-submit',
    method: 'post',
    data: row
  })
}
